﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x020002AB RID: 683
	public class TCreateSynonymSqlNode : TParseTreeNode
	{
		// Token: 0x1700049E RID: 1182
		// (get) Token: 0x060016D1 RID: 5841 RVA: 0x00327725 File Offset: 0x00325925
		// (set) Token: 0x060016D0 RID: 5840 RVA: 0x0032771C File Offset: 0x0032591C
		public virtual bool Public
		{
			get
			{
				return this._isPublic;
			}
			set
			{
				this._isPublic = value;
			}
		}

		// Token: 0x1700049F RID: 1183
		// (get) Token: 0x060016D2 RID: 5842 RVA: 0x0032772D File Offset: 0x0032592D
		public virtual TObjectName ForName
		{
			get
			{
				return this._forName;
			}
		}

		// Token: 0x170004A0 RID: 1184
		// (get) Token: 0x060016D3 RID: 5843 RVA: 0x00327735 File Offset: 0x00325935
		public virtual TObjectName SynonymName
		{
			get
			{
				return this._synonymName;
			}
		}

		// Token: 0x060016D4 RID: 5844 RVA: 0x0032773D File Offset: 0x0032593D
		public override void init(object arg1, object arg2)
		{
			this._synonymName = (TObjectName)arg1;
			this._synonymName.DbObjectType = EDbObjectType.synonym;
			this._forName = (TObjectName)arg2;
		}

		// Token: 0x040017C7 RID: 6087
		private TObjectName _synonymName;

		// Token: 0x040017C8 RID: 6088
		private TObjectName _forName;

		// Token: 0x040017C9 RID: 6089
		private bool _isPublic;
	}
}
